home *** CD-ROM | disk | FTP | other *** search
/ New Star Software Collection / NSS_Collection.iso / 5-023 bas2com basic compiler / 1.img / SUBRT.BAT < prev   
DOS Batch File  |  1982-05-07  |  862b  |  22 lines

  1. REM  SUBRT.BAT can be used to compile your BASIC program
  2. REM  and link it with your assembly language subroutine.
  3. REM  This batch file requires the following:
  4. REM  .  a two-drive system
  5. REM  .  BASIC diskette in drive A:
  6. REM  .  work diskette in drive B:
  7. REM  .  assembled subrtname.OBJ on the work diskette
  8. REM  .  BASCOM-Linker diskette for the link step
  9. REM  .  SUBRT.BAT on BASIC and BASCOM-Linker diskettes
  10. PAUSE . . . additional documentation follows
  11. REM  To run this batch file respond to the DOS prompt:
  12. REM         SUBRT subrtname progname parms
  13. REM  . subrtname indicates assembled subroutine name
  14. REM  . progname indicates BASIC source program name
  15. REM  . parms indicates compiler switches
  16. PAUSE . . . begin the compilation 
  17. B:
  18. A:BASCOM %2/O%3;
  19. PAUSE . . . insert BASCOM-Linker in drive A:
  20. A:LINK %2+%1;
  21. REM  batch file complete
  22.